Utility.convertAbsoluteToRelativePosition Method

Convert absolute to relative position.
 

Parameters

left

Type: Number
Left in absolute.
top

Type: Number
Top in absolute.
parent

Type: Object
 Object containing the absolute width and height of parent. Structure:
     width          [type: Number]    - Absolute width of the parent.
     height         [type: Number]    - Absolute height of the parent.
 

Return Value